import request from '@/utils/request'
import { getServicePath } from '@/api/baseUrlConfig'
const servicePath = getServicePath()

// 查询学习笔记列表
export function queryByCondition (data) {
  return request({
    url: (servicePath?.zhdjProjectServer || '') + `/study-notes/list`,
    method: 'get',
    params: data
  })
}

// 查询学习笔记列表
export function deleteById (data) {
  return request({
    url: (servicePath?.zhdjProjectServer || '') + `/study-notes/deleteById/${data.id}`,
    method: 'get',
    params: data
  })
}
